$OpenBSD: patch-xvt_xvt_h,v 1.2 2010/10/24 19:55:46 stephan Exp $
--- xvt/xvt.h.orig	Wed Sep 15 16:32:26 2010
+++ xvt/xvt.h	Thu Oct  7 14:55:48 2010
@@ -60,6 +60,10 @@ int unlockpt(int);
 char *ptsname(int);
 #endif /* !SUNOS5 */
 
+#if defined(__OpenBSD__)
+#define LIBC_OPENPTY
+#endif
+
 
 /* Function prototypes */
 void *cmalloc(int);
